package me.wangjian.redis.repository;

import me.wangjian.redis.model.Company;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 公司持久化接口
 * Created by wangjian on 2016/11/17.
 */
public interface CompanyRepository extends JpaRepository<Company,Long> {

    Company findByName(String name);

}
